package com.lcn.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lcn.pojo.FriendRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcn.pojo.vo.NewFriendsVO;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 好友请求记录表 Mapper 接口
 * </p>
 *
 * @author 朝恩君
 * @since 2024-10-17
 */
public interface FriendRequestMapper extends BaseMapper<FriendRequest> {

    /**
     * 分页查询好友请求
     *
     * @param page
     * @param paramMap
     * @return
     */
    Page<NewFriendsVO> queryNewFriendList(@Param("page") Page<NewFriendsVO> page,
                                          @Param("paramMap") Map<String, Object> paramMap);

}
